import { get, post } from "./http.js";

export function add(data = {}) {
	return post('student/add', data);
}

export function list(data = {}) {
	return get('student/list', data);
}

export function del(data = {}) {
	return post('student/delete', data);
}

export function edit(data = {}) {
	return post('student/edit', data);
}

export function detail(data = {}) {
	return get('student/detail', data);
}